<?php if (!defined('THINK_PATH')) exit();?><div class="yuList">
    <table class="table table-bordered">
        <thead>
            <tr>
                <td width="10%">车辆编号</td>
                <td width="18%">车型</td>
                <td width="6%">所在地</td>
                <td width="8%">车牌号</td>
                <td width="5%">级别</td>
                <td width="6%">评估师</td>
                <td width="12%">渠道来源</td>
                <td width="11%">检测时间</td>
                <td width="6%">付款状态</td>
                <td width="6%">车辆状态</td>
                <td width="5%">操作</td>
            </tr>
        </thead>
        <tbody>
        <?php $car_status_array=array('0'=>'待上传协议','1'=>'待审核','2'=>'审核失败','3'=>'审核驳回','4'=>'待拍卖','5'=>'拍卖中','6'=>'流拍','7'=>'待重拍','8'=>'交易失败','9'=>'交易成功','10'=>'待检测','11'=>'已退车') ?>
        <?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($k % 2 );++$k;?><tr class="listBg">
                <td class="mcenter"><?php echo ($list["car_no"]); ?></td>
                <td>
                    <a href="/Car/reportWithCert/car_id/<?php echo ($list["car_id"]); ?>" target="_blank" class="cheText"><?php echo ($list["model"]); ?></a>
                </td>
                <td class="mcenter"><?php echo ($list["location_area"]); ?></td>
                <td class="mcenter"><?php echo ($list["car_plate_number"]); ?></td>
                <td class="mcenter"><?php echo ($list["car_level"]); ?></td>
                <td class="mcenter"><?php echo ($list["checker"]); ?></td>
                <td class="mcenter">
                    <?php if($list["comefrom"] != ''): if(empty($list['comefrom_url'])):?>
                        <?php echo $show_from[$list['comefrom']];?>
                      <?php else: ?>
                        <a href="<?php echo ($list["comefrom_url"]); ?>" target="_blank" rel="noreferrer"><?php echo $show_from[$list['comefrom']];?></a>
                      <?php endif;?>
                    <?php else: ?>
                        未知<?php endif; ?>
                </td>
                <td class="mcenter"><?php echo ($list["check_date"]); ?></td>
                <td class="mcenter">
                    <?php echo ($list["pay_status"]); ?>
                    <?php if($list["pay_status_type"] == 21): ?><span class="tinfo">(100%)</span>
                        <?php elseif($list["pay_status_type"] == 22): ?>
                        <span class="tinfo">(50%)</span>
                        <?php elseif($list["pay_status_type"] == 23): ?>
                        <span class="tinfo">(0%)</span><?php endif; ?>
                </td>
                <td class="mcenter">
                    <?php echo ($car_status_array[$list[car_status]]); ?>
                </td>
                <td class="mcenter">
                    <a href="/CarCheck/car_info/id/<?php echo ($list["sid"]); ?>/p/<?php echo ($p); ?>" target="_blank">查看</a>
                </td>
            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
        </tbody>
    </table>
    <div class="pageFaye"><div class="pager"><?php echo ($page); ?></div><div class="clear"></div></div>
</div>